package com.cj;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author cc
 * @date 2025-05-12 20:18
 **/

public class Demo01 {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);

        ShowCmd showCmd = ctx.getBean(ShowCmd.class);
        System.out.println("showCmd = " + showCmd);
    }
}
